
import request from '@/utils/request.js'

export const getCategory = () => {
  return request.get('product/getCategory')
}

export const getSortList = (categoryIndex) => {
  return request.get('product/getSortList', {
    params: {
      categoryIndex
    }
  })
}
